<?php
class HttpDaoManager {
	public static  $adminDao;
	public  static function getAdminDao(){
		$adminDao = self::$adminDao;
		if (empty($adminDao)){
			$adminDao= new AdminDao();
			self::$adminDao= $adminDao;
		}
		return $adminDao;
	}
	public static $adminGroupDao;
	public static  function getAdminGroupDao(){
		$adminGroupDao= self::$adminGroupDao;
		if (empty($adminGroupDao)){
			$adminGroupDao = new AdminGroupDao();
		
			self::$adminGroupDao= $adminGroupDao;
		}
		return $adminGroupDao;
	}
	public static $functionDao;
	public static function getFunctionDao(){
		$functionDao= self::$functionDao;
		if (empty($functionDao)){
			$functionDao = new FunctionDao();
			self::$functionDao=$functionDao;
		}
		return $functionDao;
	}
	public static $userDao;
	public static function getUserDao(){
		$userDao = self::$userDao;
		if (empty($userDao)){
			$userDao = new UserDao();
			self::$userDao = $userDao;
		}
		return $userDao;
	}
	public static $adminOperationLogDao;
	public static function getAdminOperationLogDao(){
		$adminOperationLogDao = self::$adminOperationLogDao;
		if (empty($adminOperationLogDao)){
			$adminOperationLogDao = new AdminOperationLogDao();
			self::$adminOperationLogDao = $adminOperationLogDao;
		}
		return $adminOperationLogDao;
	}
	public static $newsDao;
	public static function getNewsDao(){
		$newsDao = self::$newsDao;
		if (empty($newsDao)){
			$newsDao = new NewsDao();
			self::$newsDao = $newsDao;
		}
		return $newsDao;
	}
	public static $adminLoginLogDao;
	public static function getAdminLoginLogDao(){
		$adminLoginLogDao = self::$adminLoginLogDao;
		if (empty($adminLoginLogDao)){
			$adminLoginLogDao = new AdminLoginLogDao();
			self::$adminLoginLogDao = $adminLoginLogDao;
		}
		return $adminLoginLogDao;
	}
	public static  $regionDao;
	public static function getRegionDao(){
		$regionDao = self::$regionDao;
		if (empty($regionDao)){
			$regionDao = new RegionDao();
			self::$regionDao = $regionDao;
		}
		return  $regionDao;	
	}
	public static $sendInfoTemplateDao;
	public static function getSendInfoTemplateDao(){
		$sendInfoTemplateDao = self::$sendInfoTemplateDao;
		if (empty($sendInfoTemplateDao)){
			$sendInfoTemplateDao = new SendInfoTemplateDao();
			self::$sendInfoTemplateDao = $sendInfoTemplateDao;
		}
		return $sendInfoTemplateDao;
	}
	public static $letterStationDao;
	public static function getLetterStationDao(){
		$letterStationDao = self::$letterStationDao;
		if (empty($letterStationDao)){
			$letterStationDao = new LetterStationDao();
			self::$letterStationDao = $letterStationDao;
		}
		return $letterStationDao;
	}
	public static $emailSendlistDao;
	public static function getEmailSendlistDao(){
		$emailSendlistDao = self::$emailSendlistDao;
		if (empty($emailSendlistDao)){
			$emailSendlistDao = new EmailSendlistDao();
			self::$emailSendlistDao = $emailSendlistDao;
		}
		return $emailSendlistDao;
	}
	
	public static $mobileSendlistDao;
	public static function getMobileSendlistDao(){
		$mobileSendlistDao = self::$mobileSendlistDao;
		if (empty($mobileSendlistDao)){
			$mobileSendlistDao = new MobileSendlistDao();
			self::$mobileSendlistDao = $mobileSendlistDao;
		}
		return $mobileSendlistDao;
	}

	public static $userLoginLogDao;
	/**
	 *用户登录日志 
	 */
	public static function getUserLoginLogDao(){
		$userLoginLogDao = self::$userLoginLogDao;
		if (empty($userLoginLogDao)){
			$userLoginLogDao = new UserLoginLogDao();
			self::$userLoginLogDao = $userLoginLogDao;
		}
		return $userLoginLogDao;
	}
	
	public static $employeesDao;
	public static function getEmployeesDao(){
		$employeesDao = self::$employeesDao;
		if (empty($employeesDao)){
			$employeesDao = new EmployeesDao();
			self::$employeesDao = $employeesDao;
		}
		return $employeesDao;
	}
	public static $teacherDao;
	public static function getTeacherDao(){
		$teacherDao =  self::$teacherDao;
		if (empty($teacherDao)){
			$teacherDao = new TeacherDao();
			self::$teacherDao = $teacherDao;
		}
		return $teacherDao;
	}
	public static $financeDao;
	public static function getFinanceDao(){
		$financeDao =  self::$financeDao;
		if (empty($financeDao)){
			$financeDao = new FinanceDao();
			self::$financeDao = $financeDao;
		}
		return $financeDao;
	}
	public static $bankDao;
	public static function getBankDao(){
		$bankDao = self::$bankDao;
		if (empty($bankDao)){
			$bankDao = new BankDao();
			self::$bankDao = $bankDao;
		}
		return $bankDao;
	}
	
	public static $courseDao;
	public static function getCourseDao(){
		$courseDao = self::$courseDao;
		if (empty($courseDao)){
			$courseDao = new CourseDao();
			self::$courseDao = $courseDao;
		}
		return $courseDao;
	}
	
	public static $teacherStartCourseDao;
	public static function getTeacherStartCourseDao(){
		$teacherStartCourseDao = self::$teacherStartCourseDao;
		if (empty($teacherStartCourseDao)){
			$teacherStartCourseDao = new TeacherStartCourseDao();
			self::$teacherStartCourseDao = $teacherStartCourseDao;
		}
		return $teacherStartCourseDao;
	}
	public static $navDao;
	public static function getNavDao(){
		$navDao = self::$navDao;
		if (empty($navDao)){
			$navDao = new NavDao();
			self::$navDao = $navDao;
		}
		return $navDao;
	}
	public static $bookCourseDao;
	public static function getBookCourseDao(){
		$bookCourseDao = self::$bookCourseDao;
		if (empty($bookCourseDao)){
			$bookCourseDao = new BookCourseDao();
			self::$bookCourseDao = $bookCourseDao;
		}
		return $bookCourseDao;
	}
	public static $onlineQuestionDao;
	public static function getOnlineQuestionDao(){
		$onlineQuestionDao = self::$onlineQuestionDao;
		if (empty($onlineQuestionDao)){
			$onlineQuestionDao = new OnlineQuestionDao();
			self::$onlineQuestionDao = $onlineQuestionDao;
		}
		return $onlineQuestionDao;
	}
	public static $complaintDao;
	public static function getComplaintDao(){
		$complaintDao = self::$complaintDao;
		if (empty($complaintDao)){
			$complaintDao = new ComplaintDao();
			self::$complaintDao = $complaintDao;
		}
		return $complaintDao;
	}
	public static $collectionDao;
	public static function getCollectionDao(){
		$collectionDao = self::$collectionDao;
		if (empty($collectionDao)){
			$collectionDao = new CollectionDao();
			self::$collectionDao = $collectionDao;
		}
		return $collectionDao;
	}
	public static $chapterDao;
	public static function getChapterDao(){
		$chapterDao = self::$chapterDao;
		if (empty($chapterDao)){
			$chapterDao = new ChapterDao();
			self::$chapterDao = $chapterDao;
		}
		return $chapterDao;
	}
	public static $bookCourseLogDao;
	public static function getBookCourseLogDao()	{
		$bookCourseLogDao = self::$bookCourseLogDao;
		if (empty($bookCourseLogDao)){
			$bookCourseLogDao = new BookCourseLogDao();
			self::$bookCourseLogDao = $bookCourseLogDao;
		}
		return $bookCourseLogDao;
	}
	public static $userClassHourLogDao;
	public static function getUserClassHourLogDao()	{
		$userClassHourLogDao = self::$userClassHourLogDao;
		if (empty($userClassHourLogDao)){
			$userClassHourLogDao = new UserClassHourLogDao();
			self::$userClassHourLogDao = $userClassHourLogDao;
		}
		return $userClassHourLogDao;
	}
	public static $levelDao;
	public static function getLevelDao()	{
		$levelDao = self::$levelDao;
		if (empty($levelDao)){
			$levelDao = new LevelDao();
			self::$levelDao = $levelDao;
		}
		return $levelDao;
	}
	public static $courseRecordDao;
	public static function getCourseRecordDao()	{
		$courseRecordDao = self::$courseRecordDao;
		if (empty($courseRecordDao)){
			$courseRecordDao = new CourseRecordDao();
			self::$courseRecordDao = $courseRecordDao;
		}
		return $courseRecordDao;
	}
	public static $productDao;
	public static function getProductDao()	{
		$productDao = self::$productDao;
		if (empty($productDao)){
			$productDao = new ProductDao();
			self::$productDao = $productDao;
		}
		return $productDao;
	}
	public static $ticketDao;
	public static function getTicketDao()	{
		$ticketDao = self::$ticketDao;
		if (empty($ticketDao)){
			$ticketDao = new TicketDao();
			self::$ticketDao = $ticketDao;
		}
		return $ticketDao;
	}
	public static $ticketLogDao;
	public static function getTicketLogDao()	{
		$ticketLogDao = self::$ticketLogDao;
		if (empty($ticketLogDao)){
			$ticketLogDao = new TicketLogDao();
			self::$ticketLogDao = $ticketLogDao;
		}
		return $ticketLogDao;
	}
	public static $orderDao;
	public static function getOrderDao()	{
		$orderDao = self::$orderDao;
		if (empty($orderDao)){
			$orderDao = new OrderDao();
			self::$orderDao = $orderDao;
		}
		return $orderDao;
	}
	public static $sysConfigDao;
	public static function getSysConfigDao()	{
		$sysConfigDao = self::$sysConfigDao;
		if (empty($sysConfigDao)){
			$sysConfigDao = new SysConfigDao();
			self::$sysConfigDao = $sysConfigDao;
		}
		return $sysConfigDao;
	}
	public static $orderLogDao;
	public static function getOrderLogDao()	{
		$orderLogDao = self::$orderLogDao;
		if (empty($orderLogDao)){
			$orderLogDao = new OrderLogDao();
			self::$orderLogDao = $orderLogDao;
		}
		return $orderLogDao;
	}
	public static $payLogDao;
	public static function getPayLogDao()	{
		$payLogDao = self::$payLogDao;
		if (empty($payLogDao)){
			$payLogDao = new PayLogDao();
			self::$payLogDao = $payLogDao;
		}
		return $payLogDao;
	}
	public static $newsClassDao;
	public static function getNewsClassDao()	{
		$newsClassDao = self::$newsClassDao;
		if (empty($newsClassDao)){
			$newsClassDao = new NewsClassDao();
			self::$newsClassDao = $newsClassDao;
		}
		return $newsClassDao;
	}
	public static $purposeDao;
	public static function getPurposeDao()	{
		$purposeDao = self::$purposeDao;
		if (empty($purposeDao)){
			$purposeDao = new PurposeDao();
			self::$purposeDao = $purposeDao;
		}
		return $purposeDao;
	}
	public static $courseTypeDao;
	public static function getCourseTypeDao()	{
		$courseTypeDao = self::$courseTypeDao;
		if (empty($courseTypeDao)){
			$courseTypeDao = new CourseTypeDao();
			self::$courseTypeDao = $courseTypeDao;
		}
		return $courseTypeDao;
	}
	public static $userOverdueEmptyDao;
	public static function getUserOverdueEmptyDao()	{
		$userOverdueEmptyDao = self::$userOverdueEmptyDao;
		if (empty($userOverdueEmptyDao)){
			$userOverdueEmptyDao = new UserOverdueEmptyDao();
			self::$userOverdueEmptyDao = $userOverdueEmptyDao;
		}
		return $userOverdueEmptyDao;
	}
	public static $messageDao;
	public static function getMessageDao()	{
		$messageDao = self::$messageDao;
		if (empty($messageDao)){
			$messageDao = new MessageDao();
			self::$messageDao = $messageDao;
		}
		return $messageDao;
	}
	public static $instantTextingLogDao;
	public static function getInstantTextingLogDao()	{
		$instantTextingLogDao = self::$instantTextingLogDao;
		if (empty($instantTextingLogDao)){
			$instantTextingLogDao = new InstantTextingLogDao();
			self::$instantTextingLogDao = $instantTextingLogDao;
		}
		return $instantTextingLogDao;
	}
	public static $bookCourseEvaluationDao;
	public static function getBookCourseEvaluationDao()	{
		$bookCourseEvaluationDao = self::$bookCourseEvaluationDao;
		if (empty($bookCourseEvaluationDao)){
			$bookCourseEvaluationDao = new BookCourseEvaluationDao();
			self::$bookCourseEvaluationDao = $bookCourseEvaluationDao;
		}
		return $bookCourseEvaluationDao;
	}
	public static $userIntegralLogDao;
	public static function getUserIntegralLogDao()	{
		$userIntegralLogDao = self::$userIntegralLogDao;
		if (empty($userIntegralLogDao)){
			$userIntegralLogDao = new UserIntegralLogDao();
			self::$userIntegralLogDao = $userIntegralLogDao;
		}
		return $userIntegralLogDao;
	}
	public static $userMoneyLogDao;
	public static function getUserMoneyLogDao()	{
		$userMoneyLogDao = self::$userMoneyLogDao;
		if (empty($userMoneyLogDao)){
			$userMoneyLogDao = new UserMoneyLogDao();
			self::$userMoneyLogDao = $userMoneyLogDao;
		}
		return $userMoneyLogDao;
	}
	
	public static $teacherLogDao;
	public static function getTeacherLogDao()	{
		$teacherLogDao = self::$teacherLogDao;
		if (empty($teacherLogDao)){
			$teacherLogDao = new TeacherLogDao();
			self::$teacherLogDao = $teacherLogDao;
		}
		return $teacherLogDao;
	}
	public static $sysTeacherSalaryDao;
	public static function getSysTeacherSalaryDao()	{
		$sysTeacherSalaryDao = self::$sysTeacherSalaryDao;
		if (empty($sysTeacherSalaryDao)){
			$sysTeacherSalaryDao = new SysTeacherSalaryDao();
			self::$sysTeacherSalaryDao = $sysTeacherSalaryDao;
		}
		return $sysTeacherSalaryDao;
	}
	public static $salePurposeDao;
	public static function getSalepurposeDao()	{
		$salePurposeDao = self::$salePurposeDao;
		if (empty($salePurposeDao)){
			$salePurposeDao = new SalepurposeDao();
			self::$salePurposeDao = $salePurposeDao;
		}
		return $salePurposeDao;
	}	
	public static $funduserDao;
	public static function getFunduserDao()	{
		$funduserDao = self::$funduserDao;
		if (empty($funduserDao)){
			$funduserDao = new FunduserDao();
			self::$funduserDao = $funduserDao;
		}
		return $funduserDao;
	}	
}?>